package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.model.enums.DefectiveProductEunm;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName DefectiveProductAppVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/11/14
 * @Version 1.0
 **/
@Data
public class DefectiveProductAppVo {

    private Long id;
    //商品名称
    private String productName;
    //商品货号（商品编号）
    private String productSn;
    //货号
    private String goodsSn;
    //款号
    private String styleNo;
    //规格
    private String spec;
    //状态
    private DefectiveProductEunm productStatus;
    //操作时间（入次品库时间）
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //已换货号
    private String chgGoodsSn;
    //已换款号
    private String chgProductSn;
    //已换货品商品类别id
    private Long chgGoodsCat;
    //已换货品规格
    private String chgProductSpec;
    //已换货品规格描述
    private String chgProductSpecDesp;

    //已换货品图片
    private String chgProductImg;
    //已换货品商品类别
    private String chgGoodsCatName;
    //商品图片
    private String productImg;
    //sku描述
    private String productSkuDesp;
    //供应商
    private String supplier;
    //订单编号
    private String orderSn;

    //入库人
    private String realName;

    //成本价
    private Double costPrice;

    private Integer orderType;
    private String actName;
    private String remark;
    private Integer chgInputDepot;

    //下单人
    private String buyer;
    //更换时间
    private Date exchangeTime;
    //获取去向仓库
    private String depotName;
    //退款时间
    private Date refundTime;
    //退款金额
    private BigDecimal refundAmount;
    //入库货品分类名称
    private String catName;
    private String stockSn;
}
